package net.bettercombat.config;

import me.shedaniel.autoconfig.ConfigData;
import me.shedaniel.autoconfig.annotation.Config;
import me.shedaniel.autoconfig.annotation.ConfigEntry;
import me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson.Comment;

@Config(name = "client")
public class ClientConfig implements ConfigData {
    @ConfigEntry.Gui.Tooltip
    public boolean isHoldToAttackEnabled = true;
    @ConfigEntry.Gui.Tooltip
    public boolean isMiningWithWeaponsEnabled = true;
    @ConfigEntry.Gui.Tooltip
    public boolean isSwingThruGrassEnabled = true;
    @ConfigEntry.Gui.Tooltip
    public boolean isAttackInsteadOfMineWhenEnemiesCloseEnabled = true;
    @ConfigEntry.Gui.Tooltip
    public boolean isHighlightCrosshairEnabled = true;
    @ConfigEntry.ColorPicker
    @ConfigEntry.Gui.Tooltip
    public int hudHighlightColor = 0xFF0000;
    @ConfigEntry.Gui.Tooltip
    public boolean isShowingArmsInFirstPerson = false;
    @ConfigEntry.Gui.Tooltip
    public boolean isShowingOtherHandFirstPerson = true;
    @ConfigEntry.Gui.Tooltip
    public boolean isSweepingParticleEnabled = true;
    @ConfigEntry.Gui.Tooltip
    public boolean isTooltipAttackRangeEnabled = true;
    @ConfigEntry.Gui.Tooltip
    @ConfigEntry.BoundedDiscrete(min = 0, max = 100)
    public int weaponSwingSoundVolume = 100;
    @ConfigEntry.Gui.Tooltip
    public boolean isDebugOBBEnabled = true;
    @ConfigEntry.Gui.Tooltip
    public String swingThruGrassBlacklist = "farmersdelight";
    @ConfigEntry.Gui.Tooltip
    public String mineWithWeaponBlacklist = "";

    @Comment("禁用第一人称动画")
    @ConfigEntry.Gui.Tooltip
    public boolean disableFirstPersonAnimation = false;
    @Comment("禁用身体大部分动画")
    @ConfigEntry.Gui.Tooltip
    public boolean disableMostBodyAnimations = true;
    @Comment("禁用所有动画")
    @ConfigEntry.Gui.Tooltip
    public boolean disableAllAnimation = false;
}
